package com.example.entity;

import java.io.Serializable;

public class Orders implements Serializable {
    private static final long serialVersionUID = 1L;

    /** ID */
    private Integer id;
    private Integer courseId;
    private Double price;
    private String orderId;
    private String time;
    private Integer userId;

    private String courseImg;
    private String courseName;
    private String userName;

    private String courseType;


    public Orders() {
    }

    public Orders(Integer id, Integer courseId, Double price, String orderId, String time, Integer userId, String courseImg, String courseName, String userName, String courseType) {
        this.id = id;
        this.courseId = courseId;
        this.price = price;
        this.orderId = orderId;
        this.time = time;
        this.userId = userId;
        this.courseImg = courseImg;
        this.courseName = courseName;
        this.userName = userName;
        this.courseType = courseType;
    }

    /**
     * 获取
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取
     * @return courseId
     */
    public Integer getCourseId() {
        return courseId;
    }

    /**
     * 设置
     * @param courseId
     */
    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }

    /**
     * 获取
     * @return price
     */
    public Double getPrice() {
        return price;
    }

    /**
     * 设置
     * @param price
     */
    public void setPrice(Double price) {
        this.price = price;
    }

    /**
     * 获取
     * @return orderId
     */
    public String getOrderId() {
        return orderId;
    }

    /**
     * 设置
     * @param orderId
     */
    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    /**
     * 获取
     * @return time
     */
    public String getTime() {
        return time;
    }

    /**
     * 设置
     * @param time
     */
    public void setTime(String time) {
        this.time = time;
    }

    /**
     * 获取
     * @return userId
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * 设置
     * @param userId
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * 获取
     * @return courseImg
     */
    public String getCourseImg() {
        return courseImg;
    }

    /**
     * 设置
     * @param courseImg
     */
    public void setCourseImg(String courseImg) {
        this.courseImg = courseImg;
    }

    /**
     * 获取
     * @return courseName
     */
    public String getCourseName() {
        return courseName;
    }

    /**
     * 设置
     * @param courseName
     */
    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    /**
     * 获取
     * @return userName
     */
    public String getUserName() {
        return userName;
    }

    /**
     * 设置
     * @param userName
     */
    public void setUserName(String userName) {
        this.userName = userName;
    }

    /**
     * 获取
     * @return courseType
     */
    public String getCourseType() {
        return courseType;
    }

    /**
     * 设置
     * @param courseType
     */
    public void setCourseType(String courseType) {
        this.courseType = courseType;
    }

    public String toString() {
        return "Orders{serialVersionUID = " + serialVersionUID + ", id = " + id + ", courseId = " + courseId + ", price = " + price + ", orderId = " + orderId + ", time = " + time + ", userId = " + userId + ", courseImg = " + courseImg + ", courseName = " + courseName + ", userName = " + userName + ", courseType = " + courseType + "}";
    }
}